package com.isoft.demo.service;

import com.isoft.demo.common.ResponseData;
import com.isoft.demo.entity.CustomerInfo;
import com.isoft.demo.entity.Vehicle;
import org.springframework.stereotype.Service;

@Service
public interface VehicleService {
    //添加
    ResponseData addVehicle(Vehicle vehicle);
    //删除
    ResponseData deleteVehicle(int vid);
    //修改
    ResponseData updateVehicle(Vehicle vehicle);
    //查询所有
    ResponseData findAllVehicle();
    //根据id查询
    ResponseData findByVid(Integer vid);

    ResponseData findIdle();
}
